package com.sxj.corejava.code18_工厂模式;


import com.sxj.corejava.entity.User;

/**
 * @author 石小俊
 */
public class Test {

    public static void main(String[] args) {
        User user = (User) ObjectFactory.getObject("user");
        System.out.println(user);
    }

}
